﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CTPDemo.Trader;
using CTPDemo.Md;
using System.Threading;

namespace CTPDemo
{
    public partial class Demo : Form
    {
        public Demo()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            TraderTest.TraderTest1.ShowDialog();

        }

        private void _btnMd_Click(object sender, EventArgs e)
        {
            MdTest.MdTest1 = new MdTest();
            MdTest.MdTest1.ShowDialog();

            //Thread.Sleep(1000);
           // MdTest.MdTest1.Dispose();
        }
    }
}
